package cn.mybatis.plugin.pagehelper;

import java.util.ArrayList;

/**
 * @author: 张澎_9970
 * @date: 2022.1.18 上午 12:03
 */
public class Page<E> extends ArrayList<E> {

    private final int pageNum;

    private final int pageSize;

    private int total;

    public Page(int pageNum, int pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
